package com.xfreelance.qcshop.commom;


public enum RestCode {
    SUCCESS(0, "success"),
    SQL_OK(20001, "SQL_OK"),
    SQL_ERR(20000, "SQL_ERR");

    public Integer code;
    public String msg;

    RestCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
